//
//  ModuleProvider.swift
//  AModule
//
//  Created by sk on 2021/11/7.
//

import Foundation
import UIKit
public protocol ModuleProvider {
    var moduleName: String { get }
    var viewController: ViewControllerConvertable { get }
    var url: String { get }
    var moduleRouters:[ String : ViewControllerConvertable] {get
    }
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
     func applicationDidBecomeActive(_ application: UIApplication)
}

extension ModuleProvider  {
  
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        return true
    }
    
    func applicationDidBecomeActive(_ application: UIApplication) {
        
    }
}
